// import com.alibaba.druid.DbType;
// import com.alibaba.druid.sql.ast.SQLName*;
// import com.alibaba.druid.sql.ast.SQLStatementImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor*;
#pragma once
#include <string>
#include <list>
#include "../SQLStatementImpl.h"
#include "SQLDropStatement.h"

class SQLExprTableSource;
class SQLName;
class SQLASTVisitor;
class SQLDDLStatement;

class SQLDropProcedureStatement : public SQLStatementImpl, virtual public SQLDropStatement
{
public:
  SQLName_ptr name;
  BOOL_ptr ifExists;

  SQLDropProcedureStatement();

  SQLDropProcedureStatement(DbType_ptr   dbType);
  SHAREDOBJECT(SQLDropProcedureStatement);

  void accept0(SQLASTVisitor_ptr visitor);

  SQLName_ptr getName();

  void setName(SQLName_ptr name);

  BOOL_ptr isIfExists();

  void setIfExists(BOOL_ptr ifExists);

  SQLDDLStatement::DDLObjectType getDDLObjectType();
};
